﻿package com.pool.data 
{
	import flash.events.EventDispatcher;
	
	import org.dm.general.ClassGather;
	import org.dm.utils.Map;

	/**
	 * ...
	 * @author Scott
	 */
	public class ServerMgr extends EventDispatcher
	{
		private static var _instance:ServerMgr;
		private static var _addresses:org.dm.utils.Map;
		
		private var _type:int;
		
		public static function get Instance():ServerMgr 
		{
			if (_instance == null) 
			{
				_instance = ClassGather.tryClass("com.pool.data.ServerMgr", ServerMgr);
			}
			return _instance;
		}
		
		public function ServerMgr() 
		{
			_addresses=new Map();
		}
		
		public function addAddress(roomLink:String,roomNo:String):void
		{
			_addresses.insert("",null);
		}
		
		public function gerServer():void 
		{
			
		}
	}

}